SWEP.Base = "weapon_ic_baseweapon"

if SERVER then
	AddCSLuaFile ("shared.lua")
end

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.PrintName			= "HK UMP45"
SWEP.Description		= "Standard-issue submachinegun with decent damage output, but not as much accuracy as the rifles, high recoil and low rate of fire."

SWEP.Slot					= 2
SWEP.Cost					= 0
SWEP.IconFont				= "CSKillIcons"
SWEP.IconLetter				= "q"

SWEP.Primary.ClipSize		= 25
SWEP.Primary.DefaultClip	= 200
SWEP.Primary.Automatic		= true
SWEP.Primary.Ammo			= "smg1"

SWEP.Primary.Sound			= Sound ("Weapon_UMP45.Single")

SWEP.Primary.Delay			= 0.11
SWEP.Primary.Damage			= 26
SWEP.Primary.Cone			= 0.023
SWEP.Primary.Kick			= 1.1

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false 
SWEP.Secondary.Ammo			= "none"

SWEP.ViewModel = "models/weapons/v_smg_ump45.mdl"
SWEP.ViewModelFlip = true
SWEP.ViewModelDefPos = Vector (3.9086, 0, 1.1059)
SWEP.ViewModelDefAng = Vector (-1.3411, 0.2037, 1.9924)

SWEP.WorldModel = "models/weapons/w_smg_ump45.mdl"
SWEP.HoldType = "smg"

if CLIENT then killicon.AddFont("weapon_ic_ump45", SWEP.IconFont, SWEP.IconLetter, Color(255, 80, 0, 255)) end

SWEP.IsSMG		= true
